package com.shuiyun.log.po;

import lombok.Data;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.Date;

/**
 * @program: LogDemo
 * @description: 保存日志实体
 * @author: gujun
 * @create: 2019-10-10 14:55
 **/
@Data
public class LogPO implements Serializable {
    @Id
    private String _id;
    //参数实体主键
    private String dataId;
    // 操作Id
    private String optId;
    //操作人
    private String optName;
    //操作时间
    private Date optTime;
    //描述
    private String desc;
    //之前数据
    private String beforeMsg;
    //之后数据
    private String afterMsg;
    //类型
    private Integer type;
    //模块
    private Integer module;
    //是否是主动
    private Boolean isActive;
}
